#include <gtest/gtest.h>
#include "../sdk/GLogHelper.h"

class GlogTest : public ::testing::Test {
protected:
    void SetUp() override {
        // 初始化日志系统
        GLogHelper::Instance().InitLog("./logs");
        
    }

    void TearDown() override {
        
    }

};

TEST_F(GlogTest, TestLogging) {
    // 测试日志记录功能
    LOG(INFO) << "This is a test log message.";
    LOG(WARNING) << "This is a warning log message.";
    LOG(ERROR) << "This is an error log message.";
}